package com.aynu.bookstore.admin.interfac;

import java.util.List;
import java.util.Map;

import com.aynu.bookstore.beans.Dow;
import com.aynu.bookstore.beans.Item;
import com.aynu.bookstore.beans.Notice;
import com.aynu.bookstore.beans.Order;
import com.aynu.bookstore.beans.Products;

public interface IAdminService {

	List<Products> findAllProductService(Map map);

	void saveProducts(Products products);

	Products findProductById(String id);

	void editProduct(Products products);

	void removeProductById(String id);

	List<Dow> selectProductByTime(String time);

	List<Order> findAllOrders(Order order);

	List<Item> findOrderMesage(String id);

	void removeOrder(String id);

	List<Notice> findAllNotice();

	void addNotice(Notice notice);

	Notice findNoticeById(Integer id);

	void editNotice(Notice notice);

	void removeNotice(Integer id);

}
